package com.wlhse.service;

import com.wlhse.dto.getDto.ChangQinEmployeeDto;
import com.wlhse.dto.inDto.*;
import com.wlhse.dto.outDto.SuperVisionGroupMemberOutDto;
import com.wlhse.entity.CheckRecordPojo;
import com.wlhse.entity.EmployeePojo;

import java.util.List;

public interface CheckRecordService {

    //条件查询--我待整改--我待验证
    String queryCheckRecord(CheckRecordInDto checkRecordInDto);

    String queryCheckRecordByCondition(CheckRecordQueryInDto checkRecordQueryInDto);

    String queryCheckRecordMine(CheckRecordInDto checkRecordInDto);

    //我验证的问题按id查
    String queryCheckRecordMineByID(int id);

    String queryCheckRecordMineReci(CheckRecordInDto checkRecordInDto);

    String queryCheckRecordID(int id);

    String deleteCheckRecord(int id);

    //更新验证数据
    String updateCheckRecord(CheckRecordVerifyInDto checkRecordVerifyInDto);

    //更新整改数据
    String updateCheckRecordReci(CheckRecordReciInDto checkRecordReciInDto);

    //模糊查询长庆员工
    String selectEmployee(ChangQinEmployeeDto changQinEmployeeDto);

    //supervisiongroupmember查询
    String selectSuperVisionGroupMember(SuperVisionGroupMemberOutDto superVisionGroupMemberOutDto);

    //当前登陆人暂存问题查询
    String selectCheckRecordTemporarySave(CheckRecordTemporarySaveInDto checkRecordTemporarySaveInDto);

    //暂存问题按条件查询
//    String selectCheckRecordTemporarySaveByCondition(CheckRecordTemporarySaveInDto checkRecordTemporarySaveInDto);

    //checkrecord和整改记录一起查询
    String queryCheckRecordsByCondition(CheckRecordQueryInDto checkRecordQueryInDto);

    //checkrecord和整改记录一起查询
    String queryCheckRecordsTreeByCondition(CheckRecordQueryInDto checkRecordQueryInDto,Integer id);

    //我的checkrecord和整改记录一起查询
    String queryMyCheckRecordsTreeByCondition(CheckRecordQueryInDto checkRecordQueryInDto,Integer id);

    //roleCode查询
    String getRoleCode(Integer id);

    //roleCode查询返回用户
    String getRoleCode2(Integer id);

    //如果有多个权限，取最高的权限
    String current_code_Admin(Integer id);

    //如果有多个权限，取最小的权限
    String current_code_Headman(Integer id);

    //问题类型
    String getHazardFactors();

    //更新验证人
    String updateVerifyPerson(CheckRecordVerifyInDto2 checkRecordVerifyInDto);
}
